package com.xiaochen.sjzremind.service;

import com.xiaochen.sjzremind.common.WXResponse;
import com.xiaochen.sjzremind.common.XTCResponse;
import retrofit2.Call;
import retrofit2.http.*;

/**
 * @author xc
 * @date 2025/10/09/22:34
 * @desc 弹药价格服务
 */
public interface IAmmoPriceService extends IAmmoService{
    
    @GET("sjz/v3/day")
    Call<XTCResponse<String>> getLatestPrice(@Query("id") String id, @Query("token") String token, @Query("timestamp") String timestamp, @Header("Cookie") String cookie);

    @GET("sjz/v3/minute")
    Call<XTCResponse<String>> getMinutePrice(@Query("id") String id, @Query("token") String token, @Query("timestamp") String timestamp, @Header("Cookie") String cookie);
    
    @POST
    Call<WXResponse> pushWx(@Url String url, @Query("title") String title, @Query("content") String content);
}
